package com.meitianhui.convenitenbuy.module.home.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.meitianhui.convenitenbuy.R;
import com.meitianhui.convenitenbuy.module.mine.model.CollectedStoresBean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/28.
 */

public class HomeCollectionAdapter extends BaseQuickAdapter<CollectedStoresBean.Stores,BaseViewHolder> {
    public HomeCollectionAdapter(@Nullable List<CollectedStoresBean.Stores> data) {
        super(R.layout.item_home_collection, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CollectedStoresBean.Stores item) {

        helper.setText(R.id.tv_name,item.stores_name);
        helper.setText(R.id.tv_address,item.address);
        helper.setText(R.id.tv_location,"");
    }
}
